; StyleScript.cfg
; Please use this format when creating your own style scripts.

; Emulating:	DMBinBot 1.3 (by DarkMinion)
; Author:	Spht
; Email:	spht.vl@gmail.com
; Website:	http://www.valhallalegends.com/spht/SphtBotv3/

; Use 'copy' trigger to make "shortcuts" to text (most useful for colors).
; Colors are in blue green red order (hex).  Put &h infront of 6-digit color identifiers.
; &hNAMECO is a special identifier for other user's name, which will display color based on flags.  Specify flag colors with 'nameco' trigger.

; Variables (used in 'event' trigger):
; %1 - Event id
; %2 - Name field of event
; %3 - Text field of event
; %4 - Product for showuser, join; otherwise blank
; %5 - Parsed stats for showuser, join; otherwise blank
; %6 - Flags field of event
; %7 - Flags field of event (in hex)
; %8 - Ping field of event
; %9 - Ping field of event (in hex)
; %10 - Described channel flags



; Main window colors:
mainwindow backcolor /BLACK/
mainwindow channelnamebackcolor /BLACK/
mainwindow channelnameforecolor /WHITE/

; User input box colors:
userinput backcolor /GRAY/
userinput forecolor /WHITE/

; Timestamp.  /time/ is an internal identifier to insert stamp:
timestamp /time/  
timestamp color /RED/
timestamp format HH:MM:SS AM/PM

; Shortcut to internal color identifiers
copy /NAME/ &hNAMECO
copy /SELF/ &hMYNAME

; DMBinBot color map
copy /WHITE/ &hFFFFFF
copy /BLACK/ &h000000
copy /GRAY/ &h3F3F3F
copy /LIGHTGRAY/ &hB6B6B6
copy /YELLOW/ &h00FFFF
copy /RED/ &h0000FF
copy /GREEN/ &h00FF00
copy /BLUE/ &hABA900
copy /DARKGREEN/ &h73C200

nameco name /LIGHTGRAY/	; Non-self no-flagged name (used in user list)
nameco self /LIGHTGRAY/	; Self name (also used in user list)
nameco 1 /BLUE/		; Blizzard Employee
nameco 2 /WHITE/	; Channel Operator
nameco 4 /BLUE/		; Speaker
nameco 8 /BLUE/		; Battle.net System Administrator
nameco &h20 /RED/	; Squelched

; Chat events (0 is self-talk)
event 0 /blue//name/%2: /white/%3
event 1 /yellow/In channel /name/%2:/yellow/%8:%7: %5
event 2 /green/Join /name/%2:/yellow/%8:%7:/darkgreen/ %5
event 3 /green/Leave %2
event 4 /green/Whisper from /name/%2:/yellow/%8:%7:/lightgray/ %3
event 5 /green//name/%2:/yellow/%8:%7:/white/ %3
event 6 /yellow/Server broadcast from %2: %3
event 7 /red/Joining %10 channel %3
event 10 /green/Whisper to /name/%2:/yellow/%8:%7:/lightgray/ %3
event &hd /red/Channel %3 is full!
event &he /red/Channel %3 is empty!
event &Hf /red/Channel %3 is restricted!
event &h12 /yellow/Broadcast: %3
event &h13 /red/Error: %3
event &h17 /yellow/* /name/%2 %3/yellow/ *
event &h80 /yellow/User update: /name/%2:/yellow/%8:%7
event &h81 /yellow/Stats update: /name/%2:/yellow/%8:%7: %5
event &h82 /red/Duplicate user /name/%2:/red/%8:%7: %5
event &h83 /darkgreen/Hexchat /name/%2:/yellow/%8:%7: /white/%3
event &h84 /darkgreen/Dmencrypt /name/%2:/yellow/%8:%7: /white/%3
